.qr {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: deepskyblue;
    /*border-radius: 5px;*/
    top: 0px;
    left: 0px;
    display: none;
    z-index: 999;
}

.alipay {
    background-color: deepskyblue;
}

.wechat {
    background-color: #2AC845;
}

.qr_header {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /*border-top-right-radius: 5px;*/
    /*border-top-left-radius: 5px;*/
    background-color: white;
    text-align: center;
}

.qr_header img {
    width: 40%;
    height: auto;
}

.qr>.qr_img {
    width: 60%;
    height: auto;
    /*margin-top: 10%;*/
    margin-left: 20%;
}

.qr>.amount {
    font-family: 'webfont', serif;
    text-align: center;
    color: white;
    font-weight: bold;
    margin: 7px;
    line-height: 25px;
    font-size: large;
}

.qr>.tip_text>p {
    margin-top: 2%;
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    font-weight: bold;
}

.qr>.close {
    position: absolute;
    top: 2%;
    right: 2%;
    width: 35px;
    height: 35px;
}

.qr>.tips {
    width: 80%;
    height: auto;
    display: flex;
    margin-left: 10%;
    flex-direction: row;
    border-top: #FFF dashed 1px;
    justify-content: center;
    align-items: center;
    padding-top: 4%;
    margin-top: 6%;
}
.qr>.tips>.tip {
    display: flex;
    width: 33.3333%;
    height:100%;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.qr>.tips>.tip>span {
    display: block;
    width: 20px;
    height: 20px;
    font-size: small;
    border-radius: 10px;
    background-color: #FFF;
    justify-content: center;
    align-items: center;
}

.qr>.tips>.tip>img {
    margin-top: 5%;
    width: 70%;
    height: auto;
}

@font-face {
    font-family: 'webfont';
    src: url('../fonts/webfont.eot');
    /* IE9*/
    src: url('../fonts/webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/webfont.woff') format('woff'), /* chrome、firefox */
    url('../fonts/webfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url('../fonts/webfont.svg#webfont') format('svg');
    /* iOS 4.1- */
}

.web-font {
    font-family: "webfont", serif !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}